div { width: 100px; height: 100px; background: #EEE; box-shadow: 0 0 15px 0px #000; clip-path: inset(0px -15px 0px -15px); position: relative; margin: 0 50px; }